package com.kvest.maputils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Kvest
 * Date: 17.04.13
 * Time: 22:33
 * To change this template use File | Settings | File Templates.
 */
public class FindPathResult {
    private boolean found;
    private int distance;
    private List<Coordinate> points;

    public FindPathResult() {
        found = false;
        distance = 0;
        points = new ArrayList<Coordinate>();
    }

    public boolean isFound() {
        return found;
    }

    public void setFound(boolean found) {
        this.found = found;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public List<Coordinate> getPoints() {
        return points;
    }

    public void addPoint(Coordinate point) {
        points.add(point);
    }
}
